package com.newhopegroup.useractiontrack.core.authentication.dao;

import com.newhopegroup.useractiontrack.api.userAction.vo.UserActionVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * Created by zfb
 */
@Repository
public interface UserActionDao {

    void addUserAction(UserActionVo userActionVo);

    List<UserActionVo> queryByUuid(String uuid);

    List<UserActionVo> queryByDate(@Param("startDate") Date startDate,
                                   @Param("endDate") Date endDate);

    List<String> queryuuidbydate(@Param("startDate") Date startDate,
                                   @Param("endDate") Date endDate);
    Integer querycountbyuuid (@Param("uuid") String uuid,
                              @Param("startDate") Date startDate,
                              @Param("endDate") Date endDate);

}
